#ifndef __FOLLOWOBSERVER_H__
#define __FOLLOWOBSERVER_H__
//#pragma once

#include "catcake.h"
#include <wild/RCResPtr.h>



namespace wild
{
namespace android
{

class IResource
{
public:
    virtual ~IResource() {};
    virtual const char * GetResourceType() const = 0;
};

class FollowObserver : public IResource
{
public:
	FollowObserver();
	~FollowObserver();
	
	
	void GetUpdNodeMove(ckMat* ptMatrix);
	void SetUpdNodeMove(ckMat* ptMatrix);

	bool IsUpdated();
	virtual const char * GetResourceType() const
	{
		return "FollowObserver";
	}
protected:
	ckMat _oMoveData;
	bool _bUpd;
};

}	//	namespace android
}	//	namespace wild

typedef wild::RCResPtr<wild::android::FollowObserver> FL_OBSERVER;

#endif	//	__FOLLOWOBSERVER_H__
